﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace furion.blog.Domain.MySQL
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("role")]
    public class Role
    {
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="role_id" ,IsPrimaryKey = true   )]
         public long RoleId { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="role_name"    )]
         public string RoleName { get; set; }
        /// <summary>
        /// 权限字符 
        ///</summary>
         [SugarColumn(ColumnName="role_key"    )]
         public string RoleKey { get; set; }
        /// <summary>
        /// 排序 
        ///</summary>
         [SugarColumn(ColumnName="order_num"    )]
         public int? OrderNum { get; set; }
        /// <summary>
        /// 状态 
        ///</summary>
         [SugarColumn(ColumnName="status"    )]
         public string Status { get; set; }
        /// <summary>
        /// 是否被删除 
        ///</summary>
         [SugarColumn(ColumnName="is_delete"    )]
         public string IsDelete { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="created_time"    )]
         public DateTime? CreatedTime { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="created_by"    )]
         public long? CreatedBy { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="updated_time"    )]
         public DateTime? UpdatedTime { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="updated_by"    )]
         public long? UpdatedBy { get; set; }
    }
}
